package entities;

/**
 * Saves the activities for that day and may have a comment.
 */
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

public class ScheduleDay implements Serializable{

	private ArrayList<ScheduleActivity> activites;
	private String comment = "";
	private int month;
	private int day;
	static final long serialVersionUID = 123L;

	public ScheduleDay() {
		this.activites = new ArrayList<ScheduleActivity>();
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		this.day = day;
	}

	public ArrayList<ScheduleActivity> getActivites() {
		return activites;
	}

	public void setActivites(ArrayList<ScheduleActivity> activites) {
		this.activites = activites;
	}
	
	public void addActivity(ScheduleActivity activity){
		this.activites.add(activity);
	}
	public void removeActivity(ScheduleActivity activity){
		this.activites.remove(activity);
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}
